package com.yswy.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("app 用户余额")
@TableName(value = "app_user_money")
public class UserMoney {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("用户 Id")
    private Long userId ;
    @ApiModelProperty("余额")
    private Integer moneyDec ;


}
